Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[action] [PR:9054] Leave 1 ACL rule in test_crm.py::test_acl_entry #9272

Merged
merged 1 commit into from
Aug 5, 2023

Conversation

mssonicbld
Copy link
Collaborator

Some platforms (like broadcom-dnx) allocate ACL banks dynamically so if there are no ACL rules it returns a NULL value for CRM purposes. So leave 1 ACL rule when comparing the returned used/available CRM values.

Also on broadcom-dnx an ACL entry is used per bind point so account for that when calculating the expected available acl entries.

Summary:
Fixes #8812

Type of change

  • Test case(new/improvement)

Back port request

  • 202205
  • 202305

Some platforms (like broadcom-dnx) allocate ACL banks dynamically so if there are no ACL rules it returns a NULL value for CRM purposes. So leave 1 ACL rule when comparing the returned used/available CRM values.

Also on broadcom-dnx an ACL entry is used per bind point so account for that when calculating the expected available acl entries.

Summary:
Fixes sonic-net#8812

Type of change
 Test case(new/improvement)
Back port request
 202205
 202305
@mssonicbld
Copy link
Collaborator Author

Original PR: #9054

@mssonicbld
Copy link
Collaborator Author

/azp run Azure.sonic-mgmt

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit bc89e3e into sonic-net:202305 Aug 5, 2023
11 checks passed
@mssonicbld mssonicbld deleted the cherry/202305/9054 branch February 4, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants